package com.tinshow.service.index;

import com.tinshow.model.article.Article;
import com.tinshow.model.article.Xinsheng;
import com.tinshow.model.article.vo.ArticleVo;
import com.tinshow.model.article.vo.XinshengVo;

import java.util.List;

/**
 * Created by libo4 on 2017-05-07.
 */
public interface ArticleService {

    List<ArticleVo> getArticleForIndex();

    List<ArticleVo> getArticleAndUser(ArticleVo articleVo);

    ArticleVo getArticleById(Integer articleId);

    void insertXinsheng(Xinsheng xinsheng);

    Integer insertArticle(Article article);

    List<XinshengVo> getXinshengByIndex();


}
